package com.zdsoft.crm.service.product;

import java.util.List;

import com.zdsoft.crm.entity.product.Product;
import com.zdsoft.crm.entity.product.ProductType;
import com.zdsoft.crm.vo.PageVo;

public interface IProductService {

	public PageVo findPage(Integer pageNum, Integer pageSize);
	
	public PageVo pageList1(Integer pageNum, Integer pageSize,String product_type_id);
	
	public PageVo findPageType(Integer pageNum, Integer pageSize,String typeName);
	
	Product getProductInfo(String id);
	
	void save(Product product);
	
	public int delete(String id);
	
	public List<ProductType>findAll();
	
	Product finInfo(String id);
	
	void update(Product product);
	
	ProductType findByTypeName(String typeName);
	
	List<Product> getProAll();
	
	void saveType(ProductType productType);
	
	ProductType findTypeInfo(String id);
	
	void updateType(ProductType productType);
	
	int deleteTypeAll(String id);
}
